<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__STATIC__/css/base.css"/>
            <link type="text/css" href="__STATIC__/ui/css/flick/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
            <script type="text/javascript" src="__STATIC__/ui/js/jquery-1.8.0.min.js"></script>
            <script type="text/javascript" src="__STATIC__/ui/js/jquery-ui-1.8.23.custom.min.js"></script>
            <js file="__STATIC__/js/base.js"/>
            <jsconst/>
            <script type="text/javascript">
                $(function(){
                    $("#tabs").tabs();
                })
            </script>

    </head>
    <body style="padding:10px;">
        <div class="path">
            <strong>您现在的位置：</strong>
            节点管理 > 添加用户
        </div>
        <form action="__CONTROL__/user_edit" method="post">
            <input type="hidden" name="uid" value="{$user.uid}"/>
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-0">编辑用户</a></li>
                </ul>
                <div id="tabs-0">   
                    <table class="table2">
                        <tr>
                            <th>
                                用户名称：
                            </th>
                            <td>
                                <input type="text" name="username" style="width:360px;" value="{$user.username}"/>
                                <span class="desc">用户名称</span>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                用户密码：
                            </th>
                            <td>
                                <input type="password" name="password" style="width:200px;" value="{$user.password}"/>
                                <span class="desc">用户密码</span>
                            </td>
                        </tr>
                        <tr>
                            <th>所属组：</th>
                            <td>
                                <select name="user_role[rid]">
                                    <list from="{$role}" name="$v">
                                        <option value="{$v.rid}" <if value="$user.rid==$v.rid">selected="selected" </if>>{$v.title}</option>
                                    </list>
                                </select>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="padding-left:100px;">
                    <input type="submit" value="编辑用户" class="submit"/>
                </div>
            </div>
        </form>
    </body>
</html>